<%-- 
    Document   : show
    Created on : 2014-4-28, 11:41:01
    Author     : Administrator
--%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page import="java.util.ArrayList" %>
<%@page import="top.lbqaq.vo.Person" %>
<%@page import="java.util.List" %>
<%@page contentType="text/html" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>JSP Page</title>
</head>
<body>
<c:choose>
    <c:when test="${empty person}">
        没有满足条件的数据！
    </c:when>
    <c:otherwise>
        <form action="SaveServlet">
            学号：<input type="hidden" value="${person.id}" name="id"><br/>
            姓名：<input type="text" name="name" value="${person.name}"/><br/>
            密码：<input type="password" name="pwd" value="${person.pwd}"/><br/>
            性别：
                <%--                    <input type="radio" name="gender" value="男" checked/>男--%>
                <%--                    <input type="radio" name="gender" value="女" />女--%>
            <input type="text" name="gender" value="${person.gender}"/>
            <br/>
            <input type="submit" value="保存"/>

        </form>
        <a href="QueryServlet">返回</a>
    </c:otherwise>
</c:choose>
</body>
</html>
